package cn.stylefeng.guns.modular.gridsystem.mapper;

import cn.stylefeng.guns.modular.gridsystem.model.param.BizStationParam;
import cn.stylefeng.guns.modular.gridsystem.model.result.BizStationResult;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.gridsystem.entity.BizStation;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 站点表 Mapper 接口
 *
 * @author ssy
 * @date 2021/09/14 11:47
 */
public interface BizStationMapper extends BaseMapper<BizStation> {

    Page<BizStationResult> pageList(@Param("page")Page page, @Param("param") BizStationParam param, @Param("list") List<Long> list);

    Page<BizStationResult> pageAllList(@Param("page")Page page, @Param("ew") LambdaQueryWrapper<BizStation> ew);

    List<BizStationResult> listByOrgIds(@Param("list") List<Long> list,@Param("param") BizStationParam param);
}
